avcodec/vaapi_encode: fix compilation without CONFIG_VAAPI_1
authorIngo Brückl <ib@oddnet.de>
Wed, 9 Oct 2024 02:43:01 +0000 (04:43 +0200)
committerSebastian Ramacher <sramacher@debian.org>
Sun, 27 Oct 2024 17:31:51 +0000 (18:31 +0100)
commit917d847823ed14425d370a60269941ef91623974
tree5044bfaad67b586929f5deea2b35bf9cb577383d
parent56b82b14e927a0e8f1bc5b910217e700105d84f1
avcodec/vaapi_encode: fix compilation without CONFIG_VAAPI_1

This adds VAAPIEncodeContext *ctx that has been removed
in aa82340b0ccdde4955fba41b8de5e45348ecd11d.

Signed-off-by: Ingo Brückl <ib@oddnet.de>
(cherry picked from commit 5557c673ea783a48e8b97c2b740b22eeeca6399b)

Gbp-Pq: Name 0011-avcodec-vaapi_encode-fix-compilation-without-CONFIG_.patch
libavcodec/vaapi_encode_h264.c